package com.cy.pj.sys.service.impl;

import com.cy.pj.sys.pojo.Logs;
import com.cy.pj.sys.dao.DaoLogs;
import com.cy.pj.sys.service.ServiceLogs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ServiceLogsImpl implements ServiceLogs {

    @Autowired
    private DaoLogs daoLogs;
    @Override
    public List<Logs> findLogs() {
        List<Logs> list = daoLogs.findLogs();
        return list;
    }
}
